package com.jeethink.gs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jeethink.common.annotation.Excel;
import com.jeethink.common.core.domain.BaseEntity;

/**
 * 任务对象 gs_task
 * 
 * @author jeethink
 * @date 2022-08-08
 */
public class GsTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一编号 */
    private String id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 报表名称 */
    @Excel(name = "报表名称")
    private String reportFormName;

    /** (任务时限)开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "(任务时限)开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taskStartTime;

    /** (任务时限)结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "(任务时限)结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taskEndTime;

    /** 填报滞后(0:无滞后 1:滞后5天 2：滞后10天 3：滞后15天) */
    @Excel(name = "填报滞后(0:无滞后 1:滞后5天 2：滞后10天 3：滞后15天)")
    private String lagging;

    /** 任务类型(关联sys_dict_data表的value,type等于task_type) */
    @Excel(name = "任务类型(关联sys_dict_data表的value,type等于task_type)")
    private String taskType;

    /** 审核方式(0:无需审核 1:填饱公司领导审核) */
    @Excel(name = "审核方式(0:无需审核 1:填饱公司领导审核)")
    private String auditMethod;

    /** 任务状态(0:待发布 1:已发布 2:待填报 3:已过期 4：待审核 5：审核驳回 6：已提交) */
    @Excel(name = "任务状态(0:待发布 1:已发布 2:待填报 3:已过期 4：待审核 5：审核驳回 6：已提交)")
    private String taskState;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 删除标记(0-正常 1-删除) */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setReportFormName(String reportFormName) 
    {
        this.reportFormName = reportFormName;
    }

    public String getReportFormName() 
    {
        return reportFormName;
    }
    public void setTaskStartTime(Date taskStartTime) 
    {
        this.taskStartTime = taskStartTime;
    }

    public Date getTaskStartTime() 
    {
        return taskStartTime;
    }
    public void setTaskEndTime(Date taskEndTime) 
    {
        this.taskEndTime = taskEndTime;
    }

    public Date getTaskEndTime() 
    {
        return taskEndTime;
    }
    public void setLagging(String lagging) 
    {
        this.lagging = lagging;
    }

    public String getLagging() 
    {
        return lagging;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }
    public void setAuditMethod(String auditMethod) 
    {
        this.auditMethod = auditMethod;
    }

    public String getAuditMethod() 
    {
        return auditMethod;
    }
    public void setTaskState(String taskState) 
    {
        this.taskState = taskState;
    }

    public String getTaskState() 
    {
        return taskState;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("reportFormName", getReportFormName())
            .append("taskStartTime", getTaskStartTime())
            .append("taskEndTime", getTaskEndTime())
            .append("lagging", getLagging())
            .append("taskType", getTaskType())
            .append("auditMethod", getAuditMethod())
            .append("taskState", getTaskState())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
